<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue 开始复习案例1 helloworld</title>
    <script src="js/vue.js"></script>
</head>
<body>
    
    <div id="app">
        <p>{{message}}</p>
    </div>
    <script>
        new Vue({
            // app是div上id的值
            el:'#app' ,
            data:{
                // message的值为hello world 需要在div中输出
                message:'Hello World!'
            }   
        })
    </script>
</body>
</html>